package com.ruoyi.web.sso.domain.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author cdd
 * @since 2021-10-20
 */
public class SimpleMenuList implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单ID
     */
    @TableId
    @ApiModelProperty(value="菜单ID")
    private String menuId;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value="菜单名称")
    private String menuName;

    /**
     * 所属系统ID
     */
    @ApiModelProperty(value="所属系统ID")
    private String platformId;

    /**
     * 父菜单ID
     */
    @ApiModelProperty(value="父菜单ID")
    private String parentId;


    /**
     * 显示顺序
     */
    @ApiModelProperty(value="显示顺序")
    private Integer orderNum;

    /**
     * 请求地址
     */
    @ApiModelProperty(value="请求地址")
    private String url;


    /**
     * 菜单图标
     */
    @ApiModelProperty(value="菜单图标")
    private String icon;

    @ApiModelProperty(value="是否隐藏")
    private String visible;

    @ApiModelProperty(value="子菜单")
    private List<SimpleMenuList> childList = new ArrayList<SimpleMenuList>();

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<SimpleMenuList> getChildList() {
        return childList;
    }

    public void setChildList(List<SimpleMenuList> childList) {
        this.childList = childList;
    }

    public String getVisible() {
        return visible;
    }

    public void setVisible(String visible) {
        this.visible = visible;
    }
}
